package com.bishe.bishe.Service;

import com.bishe.bishe.entity.PageResult;
import com.bishe.bishe.pojo.Customer;

import java.util.List;
import java.util.Map;

public interface CustomerService {
    public PageResult<Customer> findall(int page,int size);
    public List<Customer> findList(Map<String,Object> searchMap);
    public PageResult<Customer> findPage(Map<String,Object> searchMap, int page, int size);/*分页查询+模糊查询*/
    public int delete(int customerId);
    public int update(Customer customer);
    Integer insert(Customer customer);
    int findByNumber(Customer customer);
    Customer select(Customer customer);
    int findcustomer(Customer customer);
    List<Customer> count();
    List<Customer> findall1();
    Customer findCustomer1(String customerNumber);
}
